﻿//生成[Posts]IService代码
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FineAdmin.Model;

namespace FineAdmin.IService
{
    public interface IPostsService : IBaseService<PostsModel>
    {
        IEnumerable<PostsModel> GetPostsList();

        int AddLikes(int id);
        int AddClicks(int id);
        int AddTrample(int id);

        IEnumerable<PostsModel> GetListByFilter(PostsModel filter, PageInfo pageInfo, out int total);
    }
}